package com.dony.shop.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * @author sundw
 * @version 1.0.0
 * @description GlobalModelVo
 * @since 2022/8/27 17:38
 */
@Data
@TableName("shopee_publish_task")
public class PublishTask {

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long publishTaskId;
    private Long merchantId;
    private String proName;
    private String image;

    // -2 删除 -1 任务失败， 0 初始状态，  1，成功， 2 优惠设置成功
    private Integer status;
    private String region;
    private Long shopId;
    private Long itemId;
    private String itemStatus;

    private String failedReason;

    private Date createTime;

    private Long tenantId;


}
